package com.buka.server.pojo;



import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;

import java.math.BigDecimal;
import java.util.Date;

/**
* 
* @TableName product
*/
@Data
public class Product implements Serializable {

    /**
    * 编号
    */
    @Id
    private Long id;
    /**
    * 商品名
    */
    @Column(name = "name")
    private String name;
    /**
    * 价格
    */
    @Column(name = "price")
    private BigDecimal price;
    /**
    * 
    */
    @Column(name = "sales_model")
    private String salesModel;
    /**
    * 
    */
    @Column(name = "type")
    private String type;
    /**
    * 1为下架
    */
    @Column(name = "status")
    private Integer status;
    /**
    * 审核状态（0未审核1通过2拒绝）
    */
    @Column(name = "audit")
    private Integer audit;
    /**
    * 店铺名称
    */
    @Column(name = "shop_Name")
    private String shopName;
    /**
    * 商品分类id
    */
    @Column(name = "classify_id")
    private Long classifyId;
    /**
    * 商品卖点
    */
    @Column(name = "selling")
    private String selling;
    /**
    * 商品参数
    */
    @Column(name = "parameter")
    private String parameter;
    /**
    * 计量单位
    */
    @Column(name = "unit+measure")
    private String unitMeasure;
    /**
    * 
    */
    @Column(name = "img")
    private String img;
    /**
    * 
    */
    @Column(name = "video")
    private String video;
    /**
    * 
    */
    @Column(name = "description")
    private String description;
    /**
    * 
    */
    @Column(name = "is_delete")
    private Integer isDelete;
    /**
    * 
    */
    @Column(name = "create_time")
    private Date createTime;
    /**
    * 
    */
    @Column(name = "update_time")
    private Date updateTime;

}
